package sanshui.system.trade.controller;

import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@ApiOperation("健康接口")
@Slf4j
@RestController
@RequestMapping("/health")
public class HealthController {
    @GetMapping("/ok")
    public String health() {
        log.info("项目接口健康");
        return "OK";
    }
}